package com.tmsb.pojo;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *Description:mysql解析的binlog样例类  source
 *Version:1.0.0
 *@author shihb
 *@date 2020/6/10 16:07
 */
@SuppressWarnings("AlibabaAvoidCommentBehindStatement")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TableBinlog<Table> implements Serializable {
  private String database;   // 数据库
  private String table;      // 表名
  private String type;       // INSERT,DELETE,UPDATE
  private Table data;        // 数据
//  private Table oldData;
}
